package com.intelligent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 待对账客户信息表
 * @TableName customer_info
 */
@TableName(value ="customer_info")
@Data
public class CustomerInfo implements Serializable {
    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 客户名称
     */
    private Long customerId;

    /**
     * 联系人
     */
    private Integer uId;

    /**
     * 对账周期
     */
    private String reconciliationCycle;

    /**
     * 账单创建日
     */
    private Date creationDate;

    /**
     * 下次对账日
     */
    private Date nextReconciliationDate;

    /**
     * 应收总额
     */
    private BigDecimal totalReceivables;

    /**
     * 已收总额
     */
    private BigDecimal totalAmountReceived;

    /**
     * 待收总额
     */
    private BigDecimal totalAmountCollected;

    /**
     * 已退总额
     */
    private BigDecimal refundedTotal;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}